//
//  SchoolDireViewController.m
//  AoJi
//
//  Created by MinwenYi on 15-3-2.
//  Copyright (c) 2015年 xuanheng. All rights reserved.
//

#import "SchoolDireViewController.h"

@interface SchoolDireViewController ()
{
    UIWebView *webview;
    
}
@end

@implementation SchoolDireViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.ctitleLabel.backgroundColor=[UIColor yellowColor];
    [super viewDidLoad];
    
    self.ctitleLabel.text=self.titlel;
    
    NSURL  *url=[NSURL URLWithString:self.urlString];
    NSURLRequest *request=[NSURLRequest requestWithURL:url];
    
    webview =[[UIWebView alloc]initWithFrame:CGRectMake(0, self.headerHeight, Mainwidth, MainHeight-self.headerHeight)];
    [self.view addSubview:webview];
    webview.delegate=self;
    [webview loadRequest:request];

    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
